﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class DTONguoiDung
    {
        private int _UserId;
        public int UserId
        {
            get { return _UserId; }
            set { _UserId = value; }
        }

        private string _UserName;
        public string UserName 
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        private string _Password;
        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

        private string _VaiTro;
        public string VaiTro
        {
            get { return _VaiTro; }
            set { _VaiTro = value; }
        }

        private bool _TrangThai;
        public bool TrangThai
        {
            get { return _TrangThai; }
            set { _TrangThai = value; }
        }

        public DTONguoiDung()
        {
 
        }

        public DTONguoiDung(int userid, string username, string password, string vaitro, bool trangthai)
        {
            UserId = userid;
            UserName = username;
            Password = password;
            VaiTro = vaitro;
            TrangThai = trangthai;
        }
    }
}
